const Router = require('koa-router')
const api = require('./api')

const router = new Router()

// endpoints
router.prefix('/api/v1')
  .get('/hello', api.hello.get)
  .get('/hello-err', api.hello.err)

module.exports = router
